package com.swust.starter;

public class WeatherService {
    private WeatherSource weatherSource;

    public WeatherService(WeatherSource weatherSource) {
        this.weatherSource = weatherSource;
    }

    public String getType() {
        return weatherSource.getType();
    }

    public String rate() {
        return weatherSource.getRate();
    }
}
